import request from '@/utils/request'

// 查询混凝土凝结时间试验检测记录列表
export function listSnhntNjsjBsInfo(query) {
  return request({
    url: '/reportsnhnt/snhntNjsjBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询混凝土凝结时间试验检测记录详细
export function getSnhntNjsjBsInfo(excelId) {
  return request({
    url: '/reportsnhnt/snhntNjsjBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增混凝土凝结时间试验检测记录
export function addSnhntNjsjBsInfo(data) {
  return request({
    url: '/reportsnhnt/snhntNjsjBsInfo',
    method: 'post',
    data: data
  })
}

// 修改混凝土凝结时间试验检测记录
export function updateSnhntNjsjBsInfo(data) {
  return request({
    url: '/reportsnhnt/snhntNjsjBsInfo',
    method: 'put',
    data: data
  })
}

// 删除混凝土凝结时间试验检测记录
export function delSnhntNjsjBsInfo(excelId) {
  return request({
    url: '/reportsnhnt/snhntNjsjBsInfo/' + excelId,
    method: 'delete'
  })
}
